import http from "../../utils/reuqest";
import { PurchaseList, PurchaseParams } from "./type";

export const getPurchases=(params?:PurchaseParams)=>{

    return  http.get<PurchaseList>('/purchase/list',params);
  
  }